﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using A2DFramework.InstanceService;

namespace A2DFramework.CompressionService
{
    public static class CompressionService
    {
        public static string Zip(string str)
        {
            ICompression c = ObjectFactory.Resolve<ICompression>();
            return c.Zip(str);
        }
        public static string UnZip(string str)
        {
            ICompression c = ObjectFactory.Resolve<ICompression>();
            return c.UnZip(str);
        }
    }
}
